package com.ynny.librarysystemmanager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Record {

    private Integer id;

    private String bookName;

    private Integer bookId;

    private Integer borrowerId;

    private String borrowerName;

    private LocalDateTime borrowerTime;

    private LocalDateTime endTime;//逾期时间 最后归还时间

    private LocalDateTime returnTime;//归还时间

    private Integer isDelete;//是否可用

    private Integer status;//借阅状态  1借阅中 2已归还 3已逾期



}
